//
//  iTinyBagAppDelegate.m
//  iTinyBag
//
//  Created by maxh on 12/19/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//
#define BAR_COLOR	[UIColor grayColor]
#import "iTinyBagAppDelegate.h"
#import "ContactsViewController.h"
#import "CustUIToolBar.h"
#import "ContactsOLViewController.h"

@implementation iTinyBagAppDelegate

@synthesize window;

#pragma mark -
#pragma mark Application lifecycle

- (void)applicationDidFinishLaunching:(UIApplication *)application {    
	//ContactsViewController *_contact=[[ContactsViewController alloc] init];

	ContactsOLViewController *_contact=[[ContactsOLViewController alloc] init];
	UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:_contact];
	
	 [_contact release];	
	
	nav.navigationBar.tintColor = BAR_COLOR;
	[window addSubview:nav.view];
	
	// Override point for customization after app launch    
	[window makeKeyAndVisible];
}



#pragma mark -
#pragma mark Memory management

- (void)dealloc {

	[window release];
	[super dealloc];
}


@end

